package com.amumu.drama.mapper;

import com.amumu.drama.model.Invitation;
import com.amumu.drama.model.InvitationExample;

import java.util.List;

public interface InvitationMapper {
    long countByExample(InvitationExample example);

    Invitation findByMemberId(Long memberId);

    Invitation findByCode(String code);

    int insert(Invitation record);

    List<Invitation> selectByExample(InvitationExample example);
}